package com.thememaker.lockstyle.bean.command;

import com.thememaker.lockstyle.bean.ui.BaseView;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by jiajun.jiang on 2018/3/2.
 */
@XmlRootElement(name = "StartPoint")
public class StartPoint extends BaseView {

    private ReachedState reachedState;
    private ReachedUpState reachedUpState;

    private ReachedDownState reachedDownState;
    private NormalState normalState;
    private PressedState pressedState;


    @XmlElement(name = "ReachedState")
    public ReachedState getReachedState() {
        return reachedState;
    }

    public void setReachedState(ReachedState reachedState) {
        this.reachedState = reachedState;
    }

    @XmlElement(name = "ReachedUpState")
    public ReachedUpState getReachedUpState() {
        return reachedUpState;
    }

    public void setReachedUpState(ReachedUpState reachedUpState) {
        this.reachedUpState = reachedUpState;
    }

    @XmlElement(name = "ReachedDownState")
    public ReachedDownState getReachedDownState() {
        return reachedDownState;
    }

    public void setReachedDownState(ReachedDownState reachedDownState) {
        this.reachedDownState = reachedDownState;
    }

    @XmlElement(name = "NormalState")
    public NormalState getNormalState() {
        return normalState;
    }

    public void setNormalState(NormalState normalState) {
        this.normalState = normalState;
    }

    @XmlElement(name = "PressedState")
    public PressedState getPressedState() {
        return pressedState;
    }

    public void setPressedState(PressedState pressedState) {
        this.pressedState = pressedState;
    }

    public StartPoint() {
    }


    public StartPoint(String x, String y, String w, String h) {
        super(x, y, w, h);
    }
}
